package com.jeomo.masterdata.provider.web.vo;

import com.jeomo.common.core.dto.ITree;

import java.util.Date;
import java.util.List;

/**
 * <h3>excel-util</h3>
 * <p></p>
 *
 * @author : 崔贺
 * @date : 2020-12-02 19:17
 **/
public class TobTreeVo implements ITree {

    private static final long serialVersionUID = 3607658170266294674L;

    /**
     * 业态码
     */
    private String code;
    /**
     * 业态名称
     */
    private String name;
    /**
     * 组织码
     */
    private String orgCode;
    /**
     * 组织名称
     */
    private String orgName;
    /**
     * 父节点
     */
    private String parentCode;
    /**
     * 子节点集
     */
    private List<TobVo> children;
    /**
     * 2：为分组，1：为节点   节点类型
     */
    private String nodeType;

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    private Date createTime;

    private String createUser;

    private Date lastModifyTime;

    private String lastModifyUser;

    private Boolean startFlag;
    /**
     * 顶级组织码
     */
    private String topOrgCode;

    public String getTopOrgCode() {
        return topOrgCode;
    }

    public void setTopOrgCode(String topOrgCode) {
        this.topOrgCode = topOrgCode;
    }

    public Boolean getStartFlag() {
        return startFlag;
    }

    public void setStartFlag(Boolean startFlag) {
        this.startFlag = startFlag;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public String getLastModifyUser() {
        return lastModifyUser;
    }

    public void setLastModifyUser(String lastModifyUser) {
        this.lastModifyUser = lastModifyUser;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public List<TobVo> getChildren() {
        return children;
    }

    public void setChildren(List<TobVo> children) {
        this.children = children;
    }
}

